package com.algorithms.absdatatypes;

public interface Visited
{
	/*
	 * This function is required during traversal of a graph or tree
	 * to indicate whether it is visited or not
	 */
   public boolean isVisited();
   /*
    * sets the visited flag to true/false for the visited node
    */
   public void setVisited(boolean flag);
}
